<include file="public:top"/>
<script type="text/javascript" src="__PUBLIC__/lightbox2/js/lightbox.min.js">
</script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/lightbox2/css/lightbox.css" media="screen" />
<div class="container">
	<div class="maincontent">
		<h3 class="pull-left">
			<i class="glyphicon glyphicon-book"></i>
			班级相册<small>Class album</small>
		</h3>
		<div class="pull-right addButton">
		    <notempty name='isHasInsert'>
			    <a href="__URL__/add_zp/f_id/{{$f_id}}">添加照片</a>
			    <span class="division">|</span>
			</notempty>
			<a href="<?php echo Url::albumList()?>">返回相册列表</a>
		</div>
		<div class="clear"></div>
		<div class="hr"></div>
		<if condition = "$result">
		    <volist name="result" id="vo">
		    <div class="pull-left photo-img mod-album imgSetUp">
				<a href="__PUBLIC__/upload/{{$vo.f_real_dir}}/{{$vo.p_image}}" data-lightbox="example-set">
					<img  src="__PUBLIC__/upload/{{$vo.f_real_dir}}/m_{{$vo.p_image}}"
					 class="img-thumbnail example-image" style="max-width:250px;max-height:200px;" rel="lightbox" alt="有本事你点一下">
				</a>
			</div>
			</volist>
			<div class="clear"></div>
		<else />
			<h3>亲，敢不敢去上传几张图片.</h3>
		</if>
	</div>
</div>
<include file="public:footer"/>
<style type="text/css">

.setUp {
    position: relative;
}
</style>